package com.yanyeori.framework.redis.model;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * 消息发布订阅对象
 *
 * @author chenkuan 2020/08/17
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class PushMessage implements Serializable {
    private String topic;
    private Object data;
}
